package com.judy.hibernate.domain;

import java.util.List;

public interface PersonDAO {

	public abstract void persist(Person transientInstance);

	public abstract void attachDirty(Person instance);

	public abstract void attachClean(Person instance);

	public abstract void delete(Person persistentInstance);

	public abstract Person merge(Person detachedInstance);

	public abstract Person findById(java.lang.Integer id);

	public abstract List<Person> findByExample(Person instance);

}